import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from "./router"
import './plugins/element.js'
import store from './store/index'
import VueLazyload from 'vue-lazyload'
import Toast from './plugins/toast'
import ElementUI from 'element-ui'
import './styles.scss'

Vue.use(ElementUI)

Vue.config.productionTip = false

Vue.use(Toast)
Vue.use(VueLazyload,{
  loading:require('./assets/default.jpg'),//加载中 默认图片
  error:require('./assets/default.jpg'),//错误时
  attempt:6//尝试加载图片数量
})

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
